<!--
 * @Descripttion: 
 * @version: 1.0
 * @Author: wuhao
 * @Date: 2021-08-25 14:34:38
 * @LastEditors: wuhao
 * @LastEditTime: 2021-08-25 15:12:45
-->
<template>
  <div>
    <el-menu router
      class="el-menu-vertical-demo"
      unique-opened
      default-active="/home">
      <Menus :routerList="this.$store.state.Menus"></Menus>
    </el-menu>
  </div>
</template>

<script>
import Menus from './menus.vue';
export default {
  name: 'SideMenu',
  components: {
    Menus
  }
}
</script>

<style  lang="css">
.el-menu-vertical-demo:not(.el-menu--collapse) {
  width: 200px;
  min-height: 400px;
}
.tools {
  cursor: pointer;
  text-align: center;
  font-size: 20px;
  height: 30px;
  line-height: 30px;
  color: pink;
  background-color: rgb(24, 9, 78);
}
</style>
